<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" errorPage="/error.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>SGblog 后台登录</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<STYLE type=text/css>
@import url( images/login-css.css );
</STYLE>

<%
       
	   if(session.getAttribute("login_admin")!=null){
	   	response.sendRedirect("index.jsp");
	   }
%>
<SCRIPT language=JavaScript type=text/JavaScript>
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function check()
{
    if(document.loginform.UserName.value=="")
	{
	      alert("请输入用户名！");
		  document.loginform.UserName.focus();
		  return false;
	}
    if(document.loginform.UserPassword.value=="")
	{
	      alert("请输入密码！");
		  document.loginform.UserPassword.focus();
		  return false;
	}
    if(document.loginform.AuthenCode.value=="")
	{
	      alert("请输入验证码！");
		  document.loginform.AuthenCode.focus();
		  return false;
	}
}
-->
</SCRIPT>

<META content="MSHTML 6.00.3790.0" name=GENERATOR></HEAD>
<BODY leftMargin=0 background=images/bg.jpg topMargin=0 
onload="MM_preloadImages('../admin/images/00login_10.jpg','../admin/images/00login_12.jpg')" 
MARGINHEIGHT="0" MARGINWIDTH="0">
<TABLE height="100%" cellSpacing=0 cellPadding=0 width=778 align=center 
background=images/b-bg.gif border=0>
  <TBODY>
  <TR>
    <TD>
      <TABLE cellSpacing=0 cellPadding=0 width=778 border=0>
        <FORM id=loginform name=loginform onSubmit="return check();" 
        action=<%=request.getContextPath() %>/adminlogin method=post>
        <TBODY>
        <TR>
          <TD rowSpan=6><IMG height=500 alt="" 
            src="images/login_01.gif" width=103></TD>
          <TD colSpan=6><IMG height=190 alt="" 
            src="images/login_02.jpg" width=231></TD>
          <TD rowSpan=6><IMG height=500 alt="" 
            src="images/login_03.gif" width=444></TD></TR>
        <TR>
          <TD colSpan=2><IMG height=49 alt="" 
            src="images/login_04.jpg" width=86></TD>
          <TD colSpan=4>
            <TABLE height=49 cellSpacing=0 cellPadding=0 width=145 
            background=images/login_05.jpg border=0>
              <TBODY>
              <TR>
                <TD><INPUT id=username size=15 
            name=username></TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD colSpan=2><IMG height=49 alt="" 
            src="images/login_06.jpg" width=86></TD>
          <TD colSpan=4>
            <TABLE height=49 cellSpacing=0 cellPadding=0 width=145 
            background=images/login_07.jpg border=0>
              <TBODY>
              <TR>
                <TD><INPUT id=password type=password size=15 
                  name=password>
                <BR><INPUT class=input id=authencode size=4 
                  name=authencode> 
                <IMG src="<%=request.getContextPath() %>/AuthenCode?authenName=AuthenCode&heigth=20" 
                  align=absMiddle> <INPUT id=Authen type=hidden value=4147 
                  name=Authen> <INPUT id=action type=hidden value=checkUserLogin 
                  name=action></TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD colSpan=6><IMG height=8 alt="" 
            src="images/login_08.jpg" width=231></TD></TR>
        <TR>
          <TD rowSpan=2><IMG height=204 alt="" 
            src="images/login_09.jpg" width=16></TD>
          <TD colSpan=2><INPUT type=image 
            src="images/login_10.jpg" border=0 
name=imageField></TD>
          <TD rowSpan=2><IMG height=204 alt="" 
            src="images/login_11.jpg" width=27></TD>
          <TD><IMG id=Image2 
            onmouseover="MM_swapImage('Image2','','images/login_12.jpg',1)" 
            onclick=theform.reset() onmouseout=MM_swapImgRestore() height=31 
            alt="" src="images/login_12.jpg" width=83 
          name=Image2></TD>
          <TD rowSpan=2><IMG height=204 alt="" 
            src="images/login_13.jpg" width=22></TD></TR>
        <TR>
          <TD colSpan=2><IMG height=173 alt="" 
            src="images/login_14.jpg" width=83></TD>
          <TD><IMG height=173 alt="" src="images/login_15.jpg" 
            width=83></TD></TR>
        <TR>
          <TD><IMG height=1 alt="" src="images/spacer.gif" 
            width=103></TD>
          <TD><IMG height=1 alt="" src="images/spacer.gif" 
            width=16></TD>
          <TD><IMG height=1 alt="" src="images/spacer.gif" 
            width=70></TD>
          <TD><IMG height=1 alt="" src="images/spacer.gif" 
            width=13></TD>
          <TD><IMG height=1 alt="" src="images/spacer.gif" 
            width=27></TD>
          <TD><IMG height=1 alt="" src="images/spacer.gif" 
            width=83></TD>
          <TD><IMG height=1 alt="" src="images/spacer.gif" 
            width=22></TD>
          <TD><IMG height=1 alt="" src="images/spacer.gif" 
            width=444></TD></TR></FORM></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
